<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib  prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title>后台管理中心</title>  
    <link rel="stylesheet" href="../css/pintuer.css">
    <link rel="stylesheet" href="../css/admin.css">
    <script src="../js/jquery.js"></script>   
</head>
<body style="background-color:#f2f9fd;">
<div class="header bg-main">
  <div class="logo margin-big-left fadein-top">
    <h1><span class="icon-comments-o" style="font-size:35px;"> </span>中穆问答后台管理中心</h1>
  </div>
  <div class="head-l" style="float:right;padding-right:30px;"><font color="white">${userName } 管理员，您好！&nbsp;&nbsp;</font><a class="button button-little bg-red" href="esc.jsp"><span class="icon-power-off"></span> 退出登录</a> </div>
</div>
<div class="leftnav">
  <div class="leftnav-title"><strong><span class="icon-list"></span>菜单列表</strong></div>
  <h2><span class="icon-home"></span>基本信息</h2>
  <ul style="display:block">
    <li><a href="../expert/findAllUI" target="right"><span class="icon-caret-right"></span>专家管理</a></li>
    <li><a href="../issue/findAllUI" target="right"><span class="icon-caret-right"></span>问题管理</a></li>
    <li><a href="../post/findAllUI" target="right"><span class="icon-caret-right"></span>文章管理</a></li>
  </ul>  
  <h2><span class="icon-user"></span>用户操作</h2>
  <ul style="display:block">
	<li><a href="../user/findAllUI" target="right"><span class="icon-caret-right"></span>用户管理</a></li>
    <li><a href="../systemUser/findAll" target="right"><span class="icon-caret-right"></span>系统用户管理</a></li>
  </ul>     
  <h2><span class="icon-wrench"></span>系统设置</h2>
  <ul style="display:block">
	<li><a href="../advertising/findAll" target="right"><span class="icon-caret-right"></span>广告管理</a></li>
	<li><a href="../topSearch/findAllUI" target="right"><span class="icon-caret-right"></span>热搜管理</a></li>
	<li><a href="../postType/findAllUI" target="right"><span class="icon-caret-right"></span>课程管理</a></li>
	<li><a href="../expertProtocol/findAllUI" target="right"><span class="icon-caret-right"></span>专家协议</a></li>
    <li><a href="../issueType/findAll" target="right"><span class="icon-caret-right"></span>问题类型管理</a></li>
  </ul>        
 </div>
<script type="text/javascript">
$(function(){
  $(".leftnav h2").click(function(){
	  $(this).next().slideToggle(200);	
	  $(this).toggleClass("on"); 
  })
  $(".leftnav ul li a").click(function(){
	    $("#a_leader_txt").text($(this).text());
	    $("#a_leader_txt").attr("href",$(this).attr("href"));
  		$(".leftnav ul li a").removeClass("on");
		$(this).addClass("on");
  })
});
</script>
<ul class="bread">
  <li><a href="${ctx }/expert/findAllUI" target="right" class="icon-home"> 首页</a></li>
  <li><a href="${ctx }/expert/findAllUI" target="right" id="a_leader_txt">专家信息</a></li>
</ul>
<div class="admin">
  <iframe  src="${ctx }/expert/findAllUI" name="right" width="100%" height="100%"></iframe>
</div>
<div style="text-align:center;">
</div>
</body>
</html>